﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.master" CodeBehind="Correctores_Contenedor.aspx.vb" Inherits="webNaviera.Correctores_Contenedor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style10
        {
        }
        .style11
        {
            width: 143px;
        }
        .style12
        {
            width: 140px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <script>

     var ventana_secundaria;
     var ventana_secundaria2;

     function abrirVentana() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../PopUp/BusquedaViaje.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes", "");
     }

     function abrirVentanaPtoOrigen() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../PopUp/BuscarPuertos.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPuertosOrigen", "");
     }


  </script>
    

			
                        <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" ClientIDMode="AutoID" 
                            CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
                            GroupBoxCaptionOffsetY="-28px" HeaderText="Contenedores" 
                            Height="100%" HorizontalAlign="NotSet" 
                            SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Width="100%" 
                            BackColor="White">
                            <ContentPaddings Padding="5px" />
<HeaderImage Align="NotSet"></HeaderImage>

<HeaderStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default" BackColor="#DEDEDE">
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="None"></BorderBottom>
</HeaderStyle>

<GroupBoxHeaderStyle Wrap="Default">
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</GroupBoxHeaderStyle>

<TopLeftCorner Align="NotSet" Height="1px" Url="~/Images/ASPxRoundPanel/1260050361/TopLeftCorner.png" 
                                Width="1px"></TopLeftCorner>

<NoHeaderTopLeftCorner Align="NotSet" Height="1px" 
                                Url="~/Images/ASPxRoundPanel/1260050361/NoHeaderTopLeftCorner.png" Width="1px"></NoHeaderTopLeftCorner>

<TopRightCorner Align="NotSet" Height="1px" Url="~/Images/ASPxRoundPanel/1260050361/TopRightCorner.png" 
                                Width="1px"></TopRightCorner>

<NoHeaderTopRightCorner Align="NotSet" Height="1px" 
                                Url="~/Images/ASPxRoundPanel/1260050361/NoHeaderTopRightCorner.png" Width="1px"></NoHeaderTopRightCorner>

<BottomRightCorner Align="NotSet" Height="1px" 
                                Url="~/Images/ASPxRoundPanel/1260050361/BottomRightCorner.png" Width="1px"></BottomRightCorner>

<BottomLeftCorner Align="NotSet" Height="1px" Url="~/Images/ASPxRoundPanel/1260050361/BottomLeftCorner.png" 
                                Width="1px"></BottomLeftCorner>

<HeaderLeftEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderLeftEdge>

<HeaderContent>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderContent>

<HeaderRightEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderRightEdge>

<NoHeaderTopEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</NoHeaderTopEdge>

<TopEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</TopEdge>

<RightEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</RightEdge>

<BottomEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</BottomEdge>

<LeftEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</LeftEdge>

<Content>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</Content>
<PanelCollection>
<dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">  

    <table border="0" cellpadding="3" cellspacing="2" 
        style="color: #808080; height: 23px; width: 889px;">
        <tr class="TRlist3">
            <td class="style10">
                <dx:ASPxButton ID="btnGrabar" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
                    HorizontalAlign="NotSet" ImagePosition="Left" 
                    SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Grabar" 
                    VerticalAlign="NotSet" Width="100px" Wrap="Default">
                    <Image Align="NotSet">
                    </Image>
                    <CheckedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </CheckedStyle>
                    <PressedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </PressedStyle>
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <FocusRectBorder BorderStyle="NotSet" />
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxButton>
            </td>
            <td class="style11">
                <dx:ASPxButton ID="btnCancelar" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="18px" 
                    HorizontalAlign="NotSet" ImagePosition="Left" 
                    SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Cancelar" 
                    VerticalAlign="NotSet" Width="100px" Wrap="Default">
                    <Image Align="NotSet">
                    </Image>
                    <CheckedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </CheckedStyle>
                    <PressedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </PressedStyle>
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <FocusRectBorder BorderStyle="NotSet" />
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxButton>
            </td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                Bill of Lading:</td>
            <td class="style11">
                <dx:ASPxTextBox ID="txtNroBl" runat="server" AutoCompleteType="None" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/Aqua/{0}/styles.css" 
                    CssPostfix="Aqua" Height="16px" HorizontalAlign="NotSet" 
                    SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Width="137px">
                    <MaskSettings IncludeLiterals="All" />
                    <MaskHintStyle Wrap="Default">
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </MaskHintStyle>
                    <NullTextStyle HorizontalAlign="NotSet" Wrap="Default">
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </NullTextStyle>
                    <ValidationSettings Display="Static" ErrorDisplayMode="ImageWithText" 
                        ErrorTextPosition="Right">
                        <ErrorImage Align="NotSet">
                        </ErrorImage>
                        <ErrorFrameStyle HorizontalAlign="NotSet" ImageSpacing="4px" 
                            VerticalAlign="NotSet" Wrap="Default">
                            <ErrorTextPaddings PaddingLeft="4px" />
                            <HoverStyle>
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                            </HoverStyle>
                            <BackgroundImage Repeat="Repeat" />
                            <Border BorderStyle="NotSet" />
                            <BorderLeft BorderStyle="NotSet" />
                            <BorderTop BorderStyle="NotSet" />
                            <BorderRight BorderStyle="NotSet" />
                            <BorderBottom BorderStyle="NotSet" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                    <ReadOnlyStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </ReadOnlyStyle>
                    <FocusedStyle HorizontalAlign="NotSet" Wrap="Default">
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </FocusedStyle>
                    <InvalidStyle HorizontalAlign="NotSet" Wrap="Default">
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </InvalidStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxTextBox>
            </td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10" colspan="6">
                <asp:GridView ID="dgContenedor" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" AutoGenerateDeleteButton="True" CellPadding="4" 
                    ForeColor="#333333" GridLines="None" PageSize="5" Width="100px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="Sel">
                            <ItemTemplate>
                                <asp:CheckBox ID="chkSeleccionar" runat="server" />
                                <asp:Label ID="lblcodigo" runat="server" CausesValidation="False" 
                                    Text='<%#Eval("Codigo") %>' Visible="False"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="IDContenedor" HeaderText="IDContenedor" 
                            Visible="False" />
                        <asp:BoundField DataField="sPrefijo" HeaderText="Prefijo" />
                        <asp:BoundField DataField="sNumero" HeaderText="Número" />
                        <asp:BoundField DataField="iCantidad" HeaderText="Cant." />
                        <asp:BoundField DataField="dPesoBrutoCont" HeaderText="Peso Bruto" />
                        <asp:BoundField DataField="dPesoNeto" HeaderText="Peso Neto" />
                        <asp:BoundField DataField="sEstadoTrans" HeaderText="Est. Transp." />
                        <asp:BoundField DataField="sCondicion" HeaderText="Condicion" />
                        <asp:BoundField DataField="sTipoPaquete" HeaderText="Tipo Paquete" />
                        <asp:BoundField DataField="sTipo" HeaderText="Tipo" />
                        <asp:BoundField DataField="iPies" HeaderText="Pies" />
                        <asp:BoundField DataField="sUnidadMedida" HeaderText="Unid. Medida" />
                        <asp:BoundField DataField="sLineaInicial" HeaderText="Linea Inicial" />
                        <asp:BoundField DataField="sLineaStock" HeaderText="Linea Stock" />
                        <asp:BoundField DataField="sTara" HeaderText="Tara" />
                        <asp:BoundField DataField="sVolumenContenedor" HeaderText="Vol." />
                        <asp:BoundField DataField="sTemp" HeaderText="Temp." />
                        <asp:BoundField DataField="sUNNO" HeaderText="UNNO" />
                        <asp:BoundField DataField="sCarrier" HeaderText="Carrier" />
                        <asp:BoundField DataField="sShipper" HeaderText="Shipper" />
                        <asp:BoundField DataField="sObservaciones" HeaderText="Observaciones" />
                        <asp:BoundField DataField="dContenedorEstado" HeaderText="Estado" 
                            Visible="False" />
                        <asp:BoundField DataField="sEstadoTrans" HeaderText="Estado Tranf" 
                            Visible="False" />
                    </Columns>
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#EFF3FB" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                </asp:GridView>
            </td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style10">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style21">
                &nbsp;</td>
        </tr>
    </table>
    </dx:PanelContent>
</PanelCollection>

<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet" BorderWidth="0px"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>

<DisabledStyle>
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</DisabledStyle>
                        </dx:ASPxRoundPanel>                                   


 
</asp:Content>
